			<h4>Client Quick View</h4>
<?php
	$id        = intval($_GET['id']);
	$sql      = "SELECT * FROM clients WHERE c_id='$id' LIMIT 1";
	$result  = mysql_query($sql) or die(mysql_error());
	$row     = mysql_fetch_assoc($result);
?>
<h3>Viewing <? echo $row['fname'] $row['lname']; ?></h3>
<h4>Click fields to edit</h4>

<fieldset>
	<legend>Client Information</legend>
	<label>Site Name: </label>
	<span class="sname" id="sname__<? echo $row['c_id']; ?>"><? echo $row['sname']; ?></span><br />
	<label>Site URL: </label>
	<span class="surl" id="surl__<? echo $row['c_id']; ?>"><? echo $row['surl']; ?></span><br />
	<label>Name: </label>
	<span class="fname" id="fname__<? echo $row['c_id']; ?>"><? echo $row['fname']; ?></span> <span class="fname"><? echo $row['lname']; ?></span><br />
	<label>Email: </label>
	<span class="email" id="email__<? echo $row['c_id']; ?>"><? echo $row['email']; ?></span><br />
</fieldset>
<fieldset>
	<legend>FTP Information</legend>
	<label>FTP Address: </label>
	<span class="ftp" id="ftp_address__<? echo $row['c_id']; ?>"><? echo $row['ftp_address']; ?></span><br />
	<label>FTP Username: </label>
	<span class="ftp" id="ftp_username__<? echo $row['c_id']; ?>"><? echo $row['ftp_username']; ?></span><br />
	<label>FTP Password: </label>
	<span class="ftp" id="ftp_password__<? echo $row['c_id']; ?>"><? echo $row['ftp_password']; ?></span><br />
</fieldset>
<fieldset>
	<legend>Hosting Information</legend>
	<label>Hosting Company: </label>
	<span class="host" id="host_name__<? echo $row['c_id']; ?>"><? echo $row['host_name']; ?></span><br />
	<label>Hosting Address: </label>
	<span class="host" id="host_address__<? echo $row['c_id']; ?>"><? echo $row['host_address']; ?></span><br />
	<label>Hosting Username: </label>
	<span class="host" id="host_username__<? echo $row['c_id']; ?>"><? echo $row['host_username']; ?></span><br />
	<label>Hosting Password: </label>
	<span class="host" id="host_password__<? echo $row['c_id']; ?>"><? echo $row['host_password']; ?></span><br />
</fieldset>
